package com.zenchn.service;

import com.zenchn.entity.VisitCountBO;
import com.zenchn.generic.GenericService;
import com.zenchn.model.TMiCustomerVisit;
import com.zenchn.model.TMiCustomerVisitExample;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author wlf
 * @version 1.0
 * @date 2021/6/7 12:01:40
 */
public interface CustomerVisitService extends GenericService<TMiCustomerVisit,String, TMiCustomerVisitExample> {

    /**
     * 获取拜访记录管理信息列表
     * @param keyword
     * @param areasCodeList
     * @param areasCode
     * @param accountId
     * @param operatorId
     * @param customerType
     * @param startDate
     * @param endDate
     * @return
     */
    List<TMiCustomerVisit> selectDynamicSqlByParameter(String keyword, List<String> areasCodeList, String areasCode, String accountId, String operatorId, String customerType, LocalDate startDate, LocalDate endDate);

    VisitCountBO getCustomerVisit(LocalDate startDate, LocalDate endDate, String accountId);
}
